package com.nptever.webcamera.impl.request;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;

/**
 * @author ZhangKai
 * @version 1.0
 * @decription 云台移动速度控制
 * @date 2018/11/27 16:57
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class Speed {

    @XmlElements(
            @XmlElement(name = "tt:PanTilt", type = PanTilt.class)
    )
    private PanTilt PanTilt;

    @XmlElements(
            @XmlElement(name = "tt:Zoom", type = Zoom.class)
    )
    private Zoom Zoom;

    public void setPanTilt(PanTilt panTilt) {
        PanTilt = panTilt;
    }

    public void setZoom(Zoom zoom) {
        Zoom = zoom;
    }
}
